{extend name="default/base/base_seller" /}
{block name="seller_main"}


<div class="dssc-index">


    <a href="javascript:history.go(-1)" class="btn" title="返回上一步">返回上一步</a>
    <table class="store-joinin order">
        <thead>
            <tr>
                <th colspan="20">客户信息</th>
            </tr>
        </thead>
        <tbody>
        {if $joinin_detail.is_background_add == 1}
            <tr>
                <th>客户名称：</th>
                <td>{$joinin_detail.customer_name}</td>
                <th>客户编码：</th>
                <td>{$joinin_detail.member_client}</td>

            </tr>
            {/if}
            <tr class="noborder">
                <th class="required w120"><label class="" for="contract_name">三三账号:</label></th>
                <td>{$joinin_detail.member_name}</td>
                <th>昵称：</th>
                <td>{$joinin_detail.member_nickname}</td>
            </tr>
            <tr>
                <th>QQ：</th>
                <td>{$joinin_detail.member_qq}</td>
                <th>账号状态：</th>
                <td><?php echo $joinin_detail['member_state'] == 1 ? '启用' : '禁用'; ?></td>
            </tr>
            <tr>
                <th>注册时间：</th>
                <td>{$joinin_detail.member_addtime|date="Y-m-d H:i:s",###}</td>
                <th>登录次数：</th>
                <td>{$joinin_detail.member_loginnum}</td>
            </tr>
            <tr>
                <th>最后登录时间：</th>
                <td>{$joinin_detail.member_old_logintime|date="Y-m-d H:i:s",###}</td>
                <th>最后登录ip：</th>
                <td>{$joinin_detail.member_login_ip}</td>
            </tr>

            {if $joinin_detail.is_background_add == 1}
            <tr>
                <th>区域：</th>
                <td>{$joinin_detail.member_address}</td>
                <th>地址：</th>
                <td>{$joinin_detail.member_detail_address}</td>
            </tr>
            <tr>
                <th>建店年份：</th>
                <td>{$joinin_detail.member_start_time}</td>
                <th>税号：</th>
                <td>{$joinin_detail.member_paragraph}</td>
            </tr>
            <tr>
                <th>负责人：</th>
                <td>{$joinin_detail.member_person}</td>
                <th>负责人联系方式：</th>
                <td>{$joinin_detail.member_person_tel}</td>
            </tr>
            <tr>
                <th>联系人：</th>
                <td>{$joinin_detail.contact_name}</td>
                <th>联系人联系方式：</th>
                <td>{$joinin_detail.contact_phone}</td>
            </tr>
            <tr>
                <th>微信：</th>
                <td>{$joinin_detail.member_wx}</td>

            </tr>
            {/if}

            <tr>
                {if $joinin_detail.enterprise_status == 2}
                <th>申请认证时间：</th>
                <td>{$joinin_detail.enterprise_time|date="Y-m-d H:i:s",###}</td>
                {/if}
            </tr>
        {if $joinin_detail.enterprise_status == 2}
        <tr>
            <th>企业名称：</th>
            <td>{$joinin_detail.enterprise_name}</td>
            <th>企业类型：</th>
            <td>{$name}</td>

        </tr>

        <tr>
            <th>联系人职位：</th>
            <td>{$joinin_detail.contact_title}</td>
            <th>联系人姓名：</th>
            <td>{$joinin_detail.contact_name}</td>

        </tr>
        <tr>
            <th>联系人电话：</th>
            <td>{$joinin_detail.contact_phone}</td>
            <th>联系人座机：</th>
            <td>{$joinin_detail.contact_landline}</td>

        </tr>
        <tr>
            <th>联系人地址：</th>
            <td>{$joinin_detail.contact_address}</td>
            <th></th>
            <td></td>
        </tr>
        {/if}

        </tbody>
    </table>
    {if $joinin_detail.enterprise_status == 2}
    <table class="store-joinin order">
        <thead>
        <tr>
            <th colspan="20">文件信息：</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <th class="w150">企业营业执照：</th>
            <td><img width="400px" height="300px" src="{$http_name}/{$joinin_detail.enterprise_license}" /></td>
        </tr>
        </tbody>
    </table>
    {/if}

</div>
<script>

    function edit_band_goods(ids_str,ids_str2) {
        _uri = ADMINSITEURL+"/order/order_list?order_id=" + ids_str;
        dsLayerOpen(_uri,'查看','900px','500px');
    }


    /**
     * Layer 通用ifram弹出窗口
     */
    function dsLayerOpen(url, title,width,height) {
        if (!width) width = '900px';
        if (!height) height = '500px';
        layer.open({
            type: 2,
            title: title,
            area: [width,height],
            fixed: false, //不固定
            maxmin: true,
            content: url
        });
    }
</script>


      
<link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
<script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
 
  </div>
</div>
{/block}
